package com.shiyi.design.factory.factorymethod;

import com.shiyi.design.factory.factorymethod.foods.Potato;
import com.shiyi.design.factory.factorymethod.foods.Vegetables;

/**
 * @Author qiu
 * @Date 2021/1/12 23:32
 */
public class PotatoFactory extends AbstractVegetablesFactory {

    @Override
    public Vegetables create() {
        return new Potato();
    }
}
